/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.javaee6.ejb;

import javax.ejb.Schedule;
import javax.ejb.Stateless;

/**
 *
 * @author mszarl
 */
@Stateless
public class HelloTimer {
    @Schedule(second = "*/5", minute="*", hour="*")
    public void run() {
        System.out.println("Hello from Timer! Date is = " + System.nanoTime());
    }
}
